package com.example.forumsystem.demos.web.service;

import com.example.forumsystem.demos.web.model.BoardInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IBoardService {
    List<BoardInfo> selectBoardByNum(Integer num);

    void addOneArticleCountById(Long id);

    BoardInfo selectById (Long id);

    void cutOneArticleCountById(Long boardId);
}
